package com.gqr.immutable;

/**
 * 测试final能否被修改
 */
public class TestFinal {
    public static void main(String[] args) {
        final Person person = new Person();
        // 赋值后不能再次赋值
//        person = new Person();

        person.bag="book";
    }
}
